package com.example.baseutils.usb;

public class UsbBusInfo {
    private String bus;
    private int    vendorId;
    private int    productId;
    private int    busNum;
    private int    devNum;

    public UsbBusInfo(){

    }

    public UsbBusInfo(String bus, int vendorId, int productId, int busNum, int devNum) {
        this.bus = bus;
        this.vendorId = vendorId;
        this.productId = productId;
        this.busNum = busNum;
        this.devNum = devNum;
    }

    public UsbBusInfo(String bus, int vendorId, int productId) {
        this.bus = bus;
        this.vendorId = vendorId;
        this.productId = productId;
    }

    public String getBus() {
        return bus;
    }

    public void setBus(String bus) {
        this.bus = bus;
    }

    public int getVendorId() {
        return vendorId;
    }

    public void setVendorId(int vendorId) {
        this.vendorId = vendorId;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getBusNum() {
        return busNum;
    }

    public void setBusNum(int busNum) {
        this.busNum = busNum;
    }

    public int getDevNum() {
        return devNum;
    }

    public void setDevNum(int devNum) {
        this.devNum = devNum;
    }

    @Override
    public String toString() {
        return "UsbBusInfo{" +
                "bus='" + bus + '\'' +
                ", vendorId=" + vendorId +
                ", productId=" + productId +
                ", busNum=" + busNum +
                ", devNum=" + devNum +
                '}';
    }
}
